﻿//===================================================================================
// Copyright (c) Ryan Garrett.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===================================================================================

using System;

namespace Caffeine.Core.Test.TestModel.PropertyRegistrations
{
    public class ModelForRegistrationFailureD : ModelBase
    {
        private ModelProperty<Nullable<Int32>> _property;

        public void RegisterProperty()
        {
            _property = RegisterProperty<Nullable<Int32>>("Property");
        }

        public ModelProperty<Nullable<Int32>> Property
        {
            get
            {
                return _property;
            }
        }
    }
}
